<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>体检套餐管理</title>
<%@ include file="/common/meta.jsp" %>
<link href="${ctx}/css/yui.css" type="text/css" rel="stylesheet"/>
<link href="${ctx}/css/style.css" type="text/css" rel="stylesheet"/>
<script src="${ctx}/js/table.js" type="text/javascript"></script>
<script src="${ctx}/js/pe/PhysicalExamSet.js" type="text/javascript"></script>
<script language=JavaScript1.2 src="${ctx}/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<style type="text/css">
#customers
  {
  font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse:collapse;
  }

#customers td, #customers th 
  {
  font-size:1em;
  border:1px solid #98bf21;
  padding:3px 7px 2px 7px;
  }

#customers th 
  {
  font-size:1.1em;
  text-align:left;
  padding-top:5px;
  padding-bottom:4px;
  text-align:center;
  background-color:#A7C942;
  color:#ffffff;
  }

#customers tr.alt td 
  {
  color:#000000;
  background-color:#EAF2D3;
  }
</style>
</head>
<body>
<div style="font-family:Arial;font-size:15px;font-weight:bold;font-style:normal;align:left">当前位置：校园体检--体检套餐管理</div>
<p>
<form id="physicalExamMainForm" action="physical-exam-set!list.action" method="get">
<input type="hidden" name="page.pageNo" id="pageNo" value="${page.pageNo}"/>
<input type="hidden" name="page.orderBy" id="orderBy" value="${page.orderBy}"/>
<input type="hidden" name="page.order" id="order" value="${page.order}"/>
<input type="hidden" id="id" name="id" value="${id}"/>
<div id="message"><s:actionmessage theme="mytheme" cssClass="success"/></div>
    <table width="80%" class="noborder">
    	<tr>
	         <td align="left"  width="10%"   valign="middle">套餐名称:</td>
	         <td align="left"  width="40%"   valign="middle"><input type="text" name="searchName" value="${searchName}" size="20" size="20"/></td>
	         <td align="right" width="30%"   valign="middle">创&nbsp;&nbsp;建&nbsp;&nbsp;人:</td>
	         <td align="right"  width="20%"   valign="middle"><input type="text" name="person" value="${person}" size="20"/></td>
	    </tr>
	    <tr>
	         <td align="left" width="10%"  valign="middle">起始时间:</td>
	         <td align="left"  width="40%"  valign="middle"><input type="text" readonly="readonly" id= d1 name="startDate" value="${startDate}" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'d2\')}'})" size="20" size="20" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"/></td>
	         <td align="right" width="30%"  valign="middle">结束时间:</td>
	         <td align="right"  width="20%"  valign="middle"><input type="text" readonly="readonly" id= d2 name="endDate" value="${endDate}" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'d1\')}'})" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" size="20"/></td>
	    </tr>	
	    <tr>
		     <td align="right" colspan="4" valign="middle">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input  type="submit" value="&nbsp;&nbsp;查&nbsp;询&nbsp;&nbsp;"/></td>
	    </tr>    
    </table>
    <div id="content">
		<table width="80%" border="1" id="customers" >
			<tr>
				<th>序号</th>
				<th>套餐名称</th>
				<th>描述</th>
				<th>总价</th>
				<th>最后修改时间</th>
				<th>最后修改人</th>
				<th>操作</th>
			</tr>
			<s:iterator value="page.result">
			<tr>
				<td>${id}&nbsp;</td>
				<td>${name}&nbsp;</td>
				<td>${description}&nbsp;</td>
				<td>${totalPrice}&nbsp;</td>
				<td>${lastModified}&nbsp;</td>
				<td>${operator.name}&nbsp;</td>
				<td>						
					<a href="physical-exam-set!detail.action?id=${id}" >明细&nbsp;</a>
					<a href="javascript:deletePESl(${id})">删除</a>
				</td>
			</tr>
			</s:iterator>
		</table>
	</div>
	<table width="80%" class="noborder">
	  <tr>
	  <td align="left"><a href="javascript:onClincInput()">新建/修改套餐记录</a></td>
	  <td align="right">第${page.pageNo}页, 共${page.totalPages}页
		<a href="javascript:jumpPage(1)">首页</a>
		<s:if test="page.hasPre"><a href="javascript:jumpPage(${page.prePage})">上一页</a></s:if>
		<s:if test="page.hasNext"><a href="javascript:jumpPage(${page.nextPage})">下一页</a></s:if>
		<a href="javascript:jumpPage(${page.totalPages})">末页</a>
	  </td>
	  </tr>
	</table> 
</form>
</body>
</html>